<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_content
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

JHtml::addIncludePath(JPATH_COMPONENT.'/helpers');
$counter = 1;


$imagesz = json_decode($this->intro_items[0]->images);
?>


<div class="preview por bd1 mh10 mb10 bg4 pa10 shadow">
				<div class="bd1 bg1 tac">
					<a href="<?php echo htmlspecialchars($imagesz->image_fulltext); ?>">
						<img src="<?php echo htmlspecialchars($imagesz->image_fulltext); ?>" />
					</a>
					
					
				</div>
			</div>


<div class="thumbnail por mh10 ofh">
				<ul>
					
					<?php foreach ($this->intro_items as $key => &$item) : ?>
	<?php
		$key= ($key-$leadingcount)+1;
		$rowcount=( ((int)$key-1) %	(int) $this->columns) +1;
		$row = $counter / $this->columns ;

		if ($rowcount==1) : ?>

	<?php endif; ?>
	
		<?php
			$this->item = &$item;
			$this->cc = &$counter;
			echo $this->loadTemplate('item');
		?>

	<?php $counter++; ?>
	<?php if (($rowcount == $this->columns) or ($counter ==$introcount)): ?>




			<?php endif; ?>
	<?php endforeach; ?>
	
	
					
					</ul>
				<div class="nav">
					
				</div>
			</div>

